package com.facebook.model.jpaimpl;

import javax.persistence.Embeddable;
import javax.persistence.Embedded;
import com.facebook.model.api.Location;
import java.util.List;
import com.facebook.model.api.NetInfo;
import java.util.Date;
import com.facebook.model.api.Profile;

@Embeddable
public class ProfileImpl implements Profile {
@Embedded
private Location location;
private List<String> interests;
@Embedded
private NetInfo netInfo;
private String sex;
private String status;
private Integer age;
private Date birthday;

public ProfileImpl() {
  super(); 
}
public Location getLocation() {
  return location;
}
public void setLocation(Location location) {
  this.location = location;
}
public List<String> getInterests() {
  return interests;
}
public void setInterests(List<String> interests) {
  this.interests = interests;
}
public NetInfo getNetInfo() {
  return netInfo;
}
public void setNetInfo(NetInfo netInfo) {
  this.netInfo = netInfo;
}
public String getSex() {
  return sex;
}
public void setSex(String sex) {
  this.sex = sex;
}
public String getStatus() {
  return status;
}
public void setStatus(String status) {
  this.status = status;
}
public Integer getAge() {
  return age;
}
public void setAge(Integer age) {
  this.age = age;
}
public Date getBirthday() {
  return birthday;
}
public void setBirthday(Date birthday) {
  this.birthday = birthday;
}
}
